package com.example.wan1.view.todo;

import com.example.wan1.base.mvp.IBaseView;
import com.example.wan1.model.TodoBean;
import com.example.wan1.model.common.CommonResList;

/***
 * 创建时间：2020/7/31 18:19
 * 创建人：10850
 * 功能描述：
 */
public interface TodoContract {

    interface View extends IBaseView {

        void onSuccess(CommonResList<TodoBean> data);

        void onFailure(String msg);
    }

    interface Presenter {
        void todoList(int page, int status, int type, int orderby, int priority);
    }
}
